Defer generic awaited type - #35284
Conversation
3e596bb to
8145dda
Compare
8145dda to
887e72e
Compare
887e72e to
7f1e427
Compare
b0cb02e to
b96a504
Compare
b96a504 to
3bab709
Compare
|
TypeScript Bot (@typescript-bot) test this |
|
Heya Orta Therox (@orta), I've started to run the extended test suite on this PR at 3bab709. You can monitor the build here. It should now contribute to this PR's status checks. |
|
Heya Orta Therox (@orta), I've started to run the parallelized Definitely Typed test suite on this PR at 3bab709. You can monitor the build here. It should now contribute to this PR's status checks. |
|
Heya Orta Therox (@orta), I've started to run the parallelized community code test suite on this PR at 3bab709. You can monitor the build here. It should now contribute to this PR's status checks. |
|
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
4dc37b5 to
e78a9aa
Compare
866166b to
fb42ba3
Compare
9a424b4 to
600875a
Compare
600875a to
1ae835e
Compare
1ae835e to
dd1eef6
Compare
|
This was superseded by #45350 |
|
The TypeScript team hasn't accepted the linked issue #27711. If you can get it accepted, this PR will have a better chance of being reviewed. |
Before
After
getAwaitedType()returns the awaited type if it's known, orAwaited<T>if it's generic.Fixes #27711
This proposal excludes non-A+ promises, which has the benefit of not requiring a recursive solution or a new kind of type, since an A+ promise can't resolve to another promise.
@typescript-bot test this
@typescript-bot run dt
@typescript-bot user test this